/* 滚动条设置 */
*::-webkit-scrollbar {
  width: 0.25rem;
  height: 0.25rem;
}
*::-webkit-scrollbar-track-piece {
  background-color: #f8f8f8;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}
*::-webkit-scrollbar-thumb {
  background-color: #ccc;
  background-clip: padding-box;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}
*::-webkit-scrollbar-thumb:hover {
  background-color: #bbb;
}

/* 动画效果 */
.fade-slide-leave-active,
.fade-slide-enter-active {
  transition: all 0.3s;
}
.fade-slide-enter-from {
  opacity: 0;
  transform: translateX(-2rem);
}
.fade-slide-leave-to {
  opacity: 0;
  transform: translateX(2rem);
}
